z3_add_component(rewriter
  SOURCES
    arith_rewriter.cpp
    array_rewriter.cpp
    ast_counter.cpp
    bit2int.cpp
    bool_rewriter.cpp
    bv_bounds.cpp
    bv_elim.cpp
    bv_rewriter.cpp
    cached_var_subst.cpp
    datatype_rewriter.cpp
    der.cpp
    distribute_forall.cpp
    dl_rewriter.cpp
    elim_bounds.cpp
    enum2bv_rewriter.cpp
    expr_replacer.cpp
    expr_safe_replace.cpp
    factor_equivs.cpp
    factor_rewriter.cpp
    fpa_rewriter.cpp
    func_decl_replace.cpp
    hoist_rewriter.cpp
    inj_axiom.cpp
    label_rewriter.cpp
    maximize_ac_sharing.cpp
    mk_simplified_app.cpp
    pb_rewriter.cpp
    pb2bv_rewriter.cpp
    push_app_ite.cpp
    quant_hoist.cpp
    recfun_rewriter.cpp
    rewriter.cpp
    seq_axioms.cpp
    seq_eq_solver.cpp
    seq_rewriter.cpp
    seq_skolem.cpp
    th_rewriter.cpp
    value_sweep.cpp
    var_subst.cpp
    mk_extract_proc.cpp
  COMPONENT_DEPENDENCIES
    ast
    params
    automata
    polynomial
)
